-- GENERATED SPELL FOR [Irondeep Miner] --


function spell0_13396(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(15572,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13396', 30292, 1)
end

function Sorts_13396(pUnit, Event)
local choix_sorts_13396 = math.random(0, 0)
if choix_sorts_13396 == 0 then
pUnit:RegisterEvent('spell0_13396', 1, 1)
end
end

function mob13396_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13396', math.random(1500, 3000), 1)
end

function mob13396_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13396_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13396_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13396, 1, 'mob13396_Action')
RegisterUnitEvent(13396, 2, 'mob13396_Leave')
RegisterUnitEvent(13396, 3, 'mob13396_Kill')
RegisterUnitEvent(13396, 4, 'mob13396_Die')
